async function f1 () {

}

async function f2 () {
	return 'f2 hello'
}

async function f3_1() {
	return new Promise((resolve, reject) => {
		resolve('f3 success')
	})
}



async function f3_2() {
	return new Promise((resolve, reject) => {
		reject('f3 failed')
	})
}


async function f4_1() {
	return new Promise((resolve, reject) => {
		setTimeout(() => {
			resolve('f4 success')
		}, 2000)
	})
}



async function f4_2() {
	return new Promise((resolve, reject) => {
		setTimeout(() => {
			reject('f4 failed')
		}, 1000)
	})
}

async function f5() {
	console.log('------ f5 ----------\n')
	throw 'f5 throw error'
}


console.log(f5())
